<video id="v1" controls muted autoplay src="1.mp4" width="800" ></video>
<script>
if(localStorage.playTime){
v1.currentTime = localStorage.playTime;

}
v1.ontimeupdate = function(){
localStorage.playTime = v1.currentTime;
}
</script>
